/**
 * 
 */
package edu.ou.cs.youming.jaxb.types;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * @author Youming Lin
 * 
 */
public abstract class NNNode {
	protected final HashMap<NNNode, Double> weights;
	protected final ArrayList<NNNode> nextLayer;

	public NNNode(final HashMap<NNNode, Double> weights, final ArrayList<NNNode> nextLayer) {
		this.weights = weights;
		this.nextLayer = nextLayer;
	}

	public abstract void output();

	public abstract void updateWeights();
}